package cn.tedu.spring.eg1;

import org.springframework.context.annotation.AnnotationConfigApplicationContext;

/**
 * @author tune_the last
 * @date 2025/11/6 - 15:03
 */
public class TestProduct {
    public static void main(String[] args) {
        AnnotationConfigApplicationContext context = new AnnotationConfigApplicationContext("cn.tedu.spring.eg1");
        Product product = context.getBean(Product.class);
        System.out.println(product);
    }
}
